#ifndef LONGKEY_COMMON_EVENT_HANDLER_H_
#define LONGKEY_COMMON_EVENT_HANDLER_H_

#include <windows.h>


	// Defines an abstract interface for the event handlers associated with
	// waitable kernel objects.
	class EventHandler {
	public:
		virtual ~EventHandler() {}

		// Gets called when the handle is signaled.
		virtual void HandleEvent(HANDLE h) = 0;
	};


#endif  // LONGKEY_COMMON_EVENT_HANDLER_H_